﻿
namespace TFSChangeLog.View
{
    using System.Windows;
    using TFSChangeLog.ViewModel;

    public partial class ProgressDialog : Window
    {
        public ProgressDialog()
        {
            InitializeComponent();
        }

        private void OnWindowClosing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            var viewModel = (ProgressDialogViewModel)this.DataContext;
            viewModel.Cancel.Execute(null);
        }

    }
}